//
//  Student.h
//  08-类的拓展
//
//  Created by LL.F on 16/7/13.
//  Copyright © 2016年 LL.F. All rights reserved.
//

#import <Foundation/Foundation.h>
#warning 一.规定了协议内容
@protocol GetMacBook <NSObject>
@required
// 购买MacBook
- (NSString *)buyMacBook:(NSString *)money;
@optional
// 开发票
- (void)drawBill;
@end


@interface Student : NSObject
#warning 二. 设定委托方
// 委托方写法
@property (nonatomic, weak) id <GetMacBook>delegate;
- (void)seeWeChat;
@end
